﻿<UserControl x:Class="UI.Web.SL.Demo.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:navigation="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Navigation" 
    xmlns:uriMapper="clr-namespace:System.Windows.Navigation;assembly=System.Windows.Controls.Navigation"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
    mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:my="clr-namespace:UI.Web.Silverlight.Demo.Views" >

    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="40*" />
            <ColumnDefinition Width="60*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="30" />
            <RowDefinition Height="60*" />
            <RowDefinition Height="28" />
            <RowDefinition Height="40*" />
        </Grid.RowDefinitions>
        <Border BorderBrush="Silver" BorderThickness="1" Margin="3" Name="borderAdd" Grid.Row="1">
            <my:AddCustomerView x:Name="addCustomerView1" />
        </Border>
        <Border BorderBrush="Silver" BorderThickness="1" Margin="3" Name="borderList" Grid.Column="1" Grid.Row="1">
            <my:CustomerListView x:Name="customerListView1" />
        </Border>
        <Border BorderBrush="Silver" BorderThickness="1" Margin="3" Name="borderLog" Grid.Row="3" Grid.ColumnSpan="2">
            <my:LogListView x:Name="logListView1" />
        </Border>
        <sdk:Label Grid.Row="2" HorizontalAlignment="Left" Margin="12,2,0,0" Name="label4" VerticalAlignment="Bottom"  Width="120" Content="日志" FontWeight="Bold" FontSize="12" />
        <sdk:Label Height="28" HorizontalAlignment="Left" Margin="2,0,0,2" Name="label1" Content="添加顾客信息" FontWeight="Bold" FontSize="12" />
        <sdk:Label Grid.Column="1" HorizontalAlignment="Left" Margin="3,2,0,0" Name="label5"  Width="120" Content="顾客列表" FontWeight="Bold" FontSize="12" />
    </Grid>
</UserControl>
